\usepackage {geometry}
\usepackage {fancyvrb}
\usepackage {relsize}
\usepackage {indentfirst}
\usepackage [usenames,dvipsnames]{color}
\usepackage {ifpdf}
\ifpdf
	\usepackage[pdftex]{graphicx}
	\usepackage [pdftex,colorlinks,urlcolor=blue,linkcolor=blue]{hyperref}
	\DeclareGraphicsExtensions{.jpg, .pdf, .tif}
\else
	\usepackage{graphicx}
	\usepackage [colorlinks,urlcolor=blue,linkcolor=blue]{hyperref}
	\DeclareGraphicsExtensions{.eps}
\fi
\usepackage {amssymb}
\usepackage	{amsmath}
\usepackage {subfigure}
\usepackage {array}
\usepackage {tabularx}

% Packages settings
%-------------------
\fvset{fontsize=\normalsize,numbers=none,tabsize=3,formatcom=\color{MidnightBlue}}
\DefineShortVerb{\|}
\geometry{vmargin=1.75cm,hmargin=1.75cm,includefoot}

% New environments
%------------------
\newenvironment{enu}[1][3]%
	{\begin{enumerate}\setlength\itemsep{#1pt}}%
	{\end{enumerate}}
\newenvironment{where}%
	{\renewcommand{\theenumi}{}\renewcommand{\labelenumi}{\theenumi}\begin{enumerate}}%
	{\end{enumerate}}

% Common definitions
%--------------------
\def\Re{\mathbb{R}}
\def\sign#1{\mathrm{sign}\left(#1\right)}
\def\rank#1{\mathrm{rank}\left(#1\right)}
\def\det#1{\mathrm{det}\left(#1\right)}
\def\dfrac#1#2{\displaystyle\frac{#1}{#2}}
\def\dsqrt#1{\displaystyle\sqrt{#1}}
\def\dsl#1#2#3{\displaystyle\sum\limits_{#1}^{#2}{#3}}
